package com.primaryedu.data;

import android.os.Environment;

public class Contants {

    public static final String account = "upHealth";
    public static final String classname = "className";
    public static final String classid = "classid";
    public static final String usertype = "usertype";
    public static final String username = "username";
    public static final String usernickname = "usernickname";
    public static final String userphotourl = "userphotourl";
    public static final String serial = "serial";
    public static final String phone = "phone";
    public static final String userId = "userId";
    public static final String firstSetInfo = "firstSetInfo";
    public static final String zipFath = "zipFath";
    public static final String cutTime = "cutTime";   // 统计当前的时间\
    public static final String cutTimeeat = "cutTimeeat";   // 统计饮食频道停留时间
    public static final String sportProgress = "sportProgress";   // 运动进度

    public static String filePath = Environment.getExternalStorageDirectory().getAbsolutePath();

//	public static String api ="http://1546627k0h.51mypc.cn:30596/rest/" ;   http://shanzhu.tunnel.qydev.com/rest   正式地址http://test.shanzhukj.com/rest/
//	public static String api = "http://www.nj12z.net/rest/" ;
//	
//	public static String course_api = "http://www.nj12z.net" ;
//	
//	public static String news_api = "http://www.nj12z.net/news/mobileDetail/" ;
//	
//	public static String activity_api = "http://www.nj12z.net/activity/mobileDetail/" ;
//	
//	public static String notice_api = "http://www.nj12z.net/notice/mobileDetail/" ;

    //本地测试
//    public static String api = "http://192.168.0.19:8080/rest/" ;
    //测试
//	public static String api = "http://47.104.57.2:8080/rest/" ;
    //正试
    public static String api = "http://218.94.4.218/rest/";

    //测试
//	public static String course_api = "http://47.104.57.2:8080" ;
    //正试
    public static String course_api = "http://218.94.4.218";
    //测试
//	public static String news_api = "http://47.104.57.2:8080/news/mobileDetail/" ;
    //正试
    public static String news_api = "http://218.94.4.218/news/mobileDetail/";

    public static String activity_api = "http://47.104.57.2:8080/activity/mobileDetail/";
    //测试
//	public static String notice_api = "http://47.104.57.2:8080/notice/mobileDetail/" ;
    //正试
    public static String notice_api = "http://218.94.4.218/notice/mobileDetail/";

    public static String login = api + "user/login";

    public static String getAccount = api + "user/get";

    public static String uploadPassword = api + "user/uploadPassword";

    public static String updatePhone = api + "user/updatePhone";

    public static String uploadHeadimg = api + "user/uploadHeadimg";

    public static String getNews = api + "news/getPageListJson";

    public static String getNewsTwo = api + "news/getPageTableData";

    public static String getBanner = api + "picture/getAllListJson";

    public static String getCourse = api + "microcourse/getPageListJson";

    public static String getActivityNews = api + "activity/getPageListJson";

    public static String getNotice = api + "notice/getPageListJson";

    public static String getVideoinfo =  "https://njtx.njtxqxx.com/rest/user/getAppSelectStatus";

    public static String saveRecord = api + "notice/saveRecord";

    public static String getRepair = api + "repair/getPageListJson";
    //提交报修
    public static String saveRepair = api + "repair/save";
    //审批报修（更新维修状态）
    public static String approveRepair = api + "repair/save";

    public static String getComment = api + "comment/getPageListJson";
    //留言
    public static String getMessages = api + "parentsleave/getPageListJson";
//    public static String getMessages = "http://192.168.1.103:8080/rest/parentsleave/getPageListJson";

    //发布留言
    public static String saveMessages = api + "parentsleave/save";
//    public static String saveMessages = "http://192.168.1.103:8080/rest/parentsleave/save";

    public static String saveComment = api + "comment/save";

    public static String updateHeading = api + "user/updateHeadimg";

    public static String getSign = api + "sign/get";

    public static String saveSign = api + "sign/save";  // api + "sign/save"

    public static String getSelect = api + "office/getSelect";

    public static String getPageListJson = api + "dict/getPageListJson";

    public static String getMicrocourse = api + "microcourse/get";

    public static String saveAdvice = api + "advice/save";


    public static String getVersion = api + "version/get";
    //课务调整列表
    public static String getPageTableListJson = api + "course/getPageListJson";
    //课务调整审核
    public static String classApprove = api + "course/doAudit";

    public static String courseSave = api + "course/save";
    //by yy 2018/01/25 请假列表
//	public static String askforleaveList = api + "leave/getPageListJson";
    //by yy 2018/03/14 请假列表
    public static String askforMasterleaveList = api + "leave/getMasterPageListJson";
    //学生请假列表
    public static String askforStudentleaveList = api + "leave/getUserPageListJson";
    //老师请假列表
    public static String askforTeacherleaveList = api + "leave/getUserPageListJson";
    //老师审核请假列表即学生请假
    public static String teacherappvoeleaveList = api + "leave/getTeacherPageListJson";
    //请假申请
    public static String leaveApply = api + "leave/save";
    //请假审核
    public static String leaveApprove = api + "leave/doAudit";
    //校长信箱列表
    public static String masterboxList = api + "masterMail/getPageListJson";
    //校长信箱保存
    public static String masterboxsaveList = api + "masterMail/save";
    //校长信箱标记已读
    public static String masterboxReaded = api + "masterMail/markReaded";
    //问卷调查列表
    public static String questionsurveypageList = api + "survey/getPageListJson";
    //问卷调查详情
    public static String questiondetailspageList = api + "survey/getSurveyDetail";
    //问卷调查提交
    public static String questiondetailSubmit = api + "survey/submit";
    //验证用户是否提交过问卷调查
    public static String questiondetailSubmitted = api + "survey/checkSubmitted";
    //投票主题列表
    public static String votepageList = api + "vote/getPageListJson";

    //投票选项列表(不带分页)
    public static String voteoptionList = api + "vote/getOptionListJson";
    //用户投票
    public static String voteuser = api + "vote/userVote";
    //发布动态
    public static String releaseDynamicsave = api + "dynamic/save";
    //获取班级列表（带分页）
    public static String gradeList = api + "clazz/getPageListJson";
    //获取班级动态（带分页）
    public static String classdynamicList = api + "dynamic/getPageListJson";
    //删除动态
    public static String deleteClassdynamic = api + "dynamic/delete";
    //图片上传
    public static String uploadImage = api + "upload/image";


    // 步行的经纬度
    public static final String stepLatitude = "stepLatitude";
    public static final String stepLongitude = "stepLongitude";
    public static final String step = "step"; // 步数
    public static final String stepTime = "stepTime"; // 步数时间


}
